<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>在线考试网 - 考生注册</title>
	<link rel="stylesheet" href="./css/studentregister.css" />
</head>
<body>
    <header class="header"> 
        <a href="/" class="logo">
        	<img src="./img/examicon.svg" alt="" />
        	<div class="logo-img"></div>
        	<span style="font-weight: 700;font-size: 20px;">在线考试网</span>
        </a>
    </header>

    <main class="register-container">
        <div class="register-form">
            <h1 class="register-title">考生注册</h1>
            
            <form id="registerForm">
                <div class="form-group">
                    <label for="studentName">考生姓名</label>
                    <input type="text" id="studentName" class="form-control" required placeholder="请输入真实姓名">
                </div>
                
                <div class="form-group">
                    <label for="password">密码</label>
                    <input type="password" id="password" class="form-control" required placeholder="密码由8到20位以内数字或字母组成">
                </div>
                
                <div class="form-group">
                    <label for="confirmPassword">确认密码</label>
                    <input type="password" id="confirmPassword" class="form-control" required placeholder="请输入确认密码">
                </div>
                
                <div class="form-group">
                    <label for="gender">性别</label>
                    <select id="gender" class="form-control" required>
                        <option value="">--请选择--</option>
                        <option value="male">男</option>
                        <option value="female">女</option>
                    </select>
                </div>
                
                <div class="form-group">
                    <label for="educationLevel">所属班级</label>
                    <select id="educationLevel" class="form-control" required>
                        <option value="">--请选择--</option>
						<option value="undergraduate">软件开发与设计2023-01</option>
                        <option value="undergraduate">软件开发与设计2023-02</option>
                        <option value="graduate">软件开发与设计2023-03</option>
                        <option value="other">软件开发与设计2023-04</option>
                    </select>
                </div>
                
                <div class="form-group">
                    <label for="securityQuestion">提示问题</label>
                    <input type="text" id="securityQuestion" class="form-control" required placeholder="如我的生日">
                </div>
                
                <div class="form-group">
                    <label for="securityAnswer">问题答案</label>
                    <input type="text" id="securityAnswer" class="form-control" required placeholder="917月17日">
                </div>
                
                <div class="form-group">
                    <label for="major">专业</label>
                    <input type="text" id="major" class="form-control" required>
                </div>
                
                <div class="form-group">
                    <label for="idNumber">身份证号</label>
                    <input type="text" id="idNumber" class="form-control" required>
                </div>
                
                <div class="button-group">
                    <button type="submit" class="btn btn-primary">保存</button>
                    <button type="reset" class="btn">重置</button>
                    <button type="button" class="btn" id="returnButton" onclick="returnindex()">返回</button>
                </div>
            </form>
        </div>
    </main>
	<script src="./js/studentregister.js"></script>
</body>
</html>